<template>
	<view>
		<view class="kqjied"><text>开启接单</text> <u-switch v-model="value" @change="change"></u-switch></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: false
			}
		},
		methods: {
			change(e) {
				console.log('change', e);
			},
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f2f2f2;
	}
	.kqjied {
		margin: 8px;
		background-color: #ffffff;
		border-radius: 6px;
		padding: 8px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
</style>